<?php


/**
 * 文章管理Model
 * Enter description here ...
 * @author Admin
 *
 */
class ArticleModel extends CommonModel {
	
	
	/**
	 * 获取数据
	 * @see CommonModel::getdata()
	 */
	public function getdata($map,$limit){
		$data = $this->where($map)->order('`order` desc')->limit($limit)->findAll();
		return $data;
	}
	
}
?>